package com.huirui.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.huirui.server.pojo.dto.FeedbackDto;
import com.huirui.server.pojo.entity.Feedback;
import com.huirui.server.pojo.result.PageResult;
import com.huirui.server.pojo.vo.FeedbackVo;
import jakarta.validation.Valid;

import java.time.LocalDate;

/**
 * @author yujun
 * @description 针对表【t_feedback(用户反馈表)】的数据库操作Service
 * @createDate 2025-09-20 10:25:11
 */
public interface FeedbackService extends IService<Feedback> {

    void saveUserFeedback(@Valid FeedbackDto feedbackDto);

    PageResult<FeedbackVo> listConditional(Integer type, Integer status, LocalDate startTime, LocalDate endTime, String keyword, Long page, Long pageSize);

    void handleFeedback(FeedbackDto feedbackDto);
}
